package com.wmh.baseservice.operationaid.pojo.vo.task;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Size;
import java.io.Serializable;

/**
 * @author 谢骏
 * @date 2023/6/29 16:23
 **/
@Data
@ApiModel(value = "修改标题任务请求")
@Accessors(chain = true)
public class UpDateTitleReqVO implements Serializable {

    @ApiModelProperty(value = "账号")
    @NotEmpty(message = "请填写账号")
    private String account;

    @ApiModelProperty(value = "密码")
    @NotEmpty(message = "请填写密码")
    private String password;

    @Size(min = 3, message = "请至少填写一项商品标题")
    @NotBlank(message = "请至少填写一项商品标题")
    private String productTitleListJson;

    private static final long serialVersionUID = 42L;
}
